package com.nginxmanager.server;

import com.nginxmanager.domain.Conf;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by Administrator on 2018-01-16.
 */
@Repository
public interface ConfRepository extends PagingAndSortingRepository<Conf, Integer> {
    Page<Conf> findByModel(Pageable var1, String model);
    Conf findByKey(String key);
}
